package day03;

public class OpreDemo1 {
    public static void main(String[] args) {
        int a = 5,b = 5;
        a++;
        ++b;
        System.out.println(a);
        System.out.println(b);
        System.out.println("---------------------");

        int c=5,d=5;
        int e=c++;
        int f=++d;
        System.out.println(c);
        System.out.println(d);
        System.out.println(e);
        System.out.println(f);

        System.out.println("---------------------");
        System.out.println("---------------------");

        int g=5,h=5;
        g--;
        h--;
        System.out.println(g);
        System.out.println(h);
        System.out.println("---------------------");

        int i=5,j=5;
        int k = i--;
        int l = --j;
        System.out.println(i);
        System.out.println(j);
        System.out.println(k);
        System.out.println(l);




    }
}
